import 'package:flutter/material.dart';
import 'package:flutter_architecture/config/app_theme.dart';
import 'package:flutter_architecture/widgets/appbar/appbar_widget.dart';

/// 整个App的Scaffold设置
/// 同意灰色背景
/// @author: dingwen
/// @date: 2021/1/10

Scaffold architectureScaffold({Widget body,AppBar appBar,FloatingActionButton floatingActionButton}){
  return Scaffold(
    backgroundColor: Colors.grey[100],
    appBar: appBar,
    body: body,
    floatingActionButton: floatingActionButton,
  );
}